package com.yuelao.yuelao_backend.dto;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentDTO {
    private Long id;
    private Long userId;
    private String nickname; // From User
    private String avatar; // From User
    private String content;
    private LocalDateTime createdAt;
    private String timeAgo; // For display, e.g., "1分钟前"
    private List<CommentDTO> replies;
    private Long targetUserId; // For replies
    private String targetUserNickname; // For replies
}